package cn.im.qywx.wx.msg;


import cn.im.qywx.model.ImWxUserInfo;
import cn.im.qywx.wx.Message;

public class View  extends Message {

	@Override
	public void execute(ImWxUserInfo userInfo) {
		
		//日志纪录
		/*try {
			
			String msg = userInfo.getQueueInfo().getWxXml().getEventKey();
			
			ImWxPageOpenLog log = new ImWxPageOpenLog();
			ImWxLog log2 = new ImWxLog();
			log.setWeixinno(userInfo.getWeixinno());
			log.setOpentime(new Date());
			
			log2.setUserno(userInfo.getWeixinno());
			log2.setSendtime(new Date());
			
			if(msg.indexOf("state=0rxr789045") != -1){
				log.setOpenpage("PackagesAll_m");
				log2.setProcesstype("PackagesAll");

			serviceFactory.savePo(log);
			serviceFactory.savePo(log2);
		} catch (Exception e) {
			// 设置无响应
			userInfo.getQueueInfo().setWxXml(null);
			return;
		}*/
		// 设置无响应
		userInfo.getQueueInfo().setWxXml(null);
		return;
	}

}
